package com.paas.form.entity;

import com.paas.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("form_data_change_info_detail")
@ApiModel(value="FormDataChangeInfoDetail对象", description="")
public class FormDataChangeInfoDetailEntity extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "主键id")
	@TableId
	private String id;

	@ApiModelProperty(value = "类型")
	@TableField("type")
	private String type;

	@ApiModelProperty(value = "数据状态")
	@TableField("status")
	private String status;

	@ApiModelProperty(value = "描述")
	@TableField("remark")
	private String remark;

	@ApiModelProperty(value = "修改人id")
	@TableField("modify_id")
	private String modifyId;

	@ApiModelProperty(value = "变更主表id")
	@TableField("change_info_id")
	private String changeInfoId;

	@ApiModelProperty(value = "表")
	@TableField("link_table")
	private String linkTable;

	@ApiModelProperty(value = "主键字段")
	@TableField("primary_key_field")
	private String primaryKeyField;

	@ApiModelProperty(value = "主键值")
	@TableField("primary_key_value")
	private String primaryKeyValue;

	@ApiModelProperty(value = "视图id")
	@TableField("view_id")
	private String viewId;

	@ApiModelProperty(value = "属性名")
	@TableField("attribute_name")
	private String attributeName;

	@ApiModelProperty(value = "属性原值")
	@TableField("attribute_value")
	private String attributeValue;

	@ApiModelProperty(value = "更新值")
	@TableField("update_value")
	private String updateValue;

	@ApiModelProperty(value = "视图名称")
	@TableField(exist = false)
	private String viewName;

	@ApiModelProperty(value = "名称")
	@TableField(exist = false)
	private String name;




}